--TEST--
Twitter 002 - Object creation exceptions
--SKIPIF--
<?php
	include('skipif.inc');
?>
--FILE--
<?php
	try
	{
		new Twitter('void', '');
	}
	catch(Exception $e)
	{
		echo 'Caught exception #1 - ' . $e->getMessage() . "\r\n";
	}

	try
	{
		new Twitter('', 'void');
	}
	catch(Exception $e)
	{
		echo 'Caught exception #2 - ' . $e->getMessage() . "\r\n";
	}
?>
--EXPECT--
Caught exception #1 - Login and password cannot be left empty
Caught exception #2 - Login and password cannot be left empty